//机构

import { httpDelete, httpGet, httpPost, httpPut } from "../utils/http"



// 新增机构
export const addCdorganizationsApi = (data) => {
    return httpGet('/organizations/add', data)
}

// 修改机构
export const updaCeorganizationsApi = (data) => {
    return httpPut('/organizations/update', data)
}

// 查询机构
export const searchChorganizationsApi = (data) => {
    return httpPost('/organizations/search', data)
}

// 删除机构
export const deleCeorganizationsApi = (data) => {
    return httpDelete('/organizations/remove', data)
}

// 获取机构
export const detaClorganizationsApi = (data) => {
    return httpGet('/organizations/detail', data)
}


// 获取一个机构的详情
export const getClorganizationsByIdApi = (data) => {
    return httpGet('/signs/fullDetail', data)
}

